﻿{include file="Public/public" /}
<script type="text/javascript" charset="utf-8" src="/static/admin/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/static/admin/ueditor/ueditor.all.min.js"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="/static/admin/ueditor/lang/zh-cn/zh-cn.js"></script>
<body>
 <div class="wrap">
  <div class="page-title">
    <span class="modular fl"><i class="settings"></i><em>站点设置</em></span>
  </div>
  <form action="/adminuser/savesetting" method="post">
  <table class="noborder">
   <tr>
    <td style="width:15%;text-align:right;"><b>站点名称：</b></td>
    <td><input type="text" name="wname" value="{$site['wname']}" class="textBox length-long"/></td>
   </tr>
   <tr>
    <td style="text-align:right;"><b>关键词设置：</b></td>
    <td><input type="text" name="keywords" value="{$site['keywords']}" class="textBox length-long"/></td>
   </tr>
   <tr>
    <td style="text-align:right;"><b>站点描述：</b></td>
    <td><input type="text" name="miaoshu" value="{$site['miaoshu']}" class="textBox length-long"/></td>
   </tr>
   <tr>
    <td style="text-align:right;"><b>ICP备案号：</b></td>
    <td><input type="text" name="ICP" value="{$site['ICP']}" class="textBox length-middle"/></td>
   </tr>
   <tr>
    <td style="text-align:right;"><b>公司名称：</b></td>
    <td><input type="text" name="name" value="{$site['name']}" class="textBox length-long"/></td>
   </tr>
   <tr>
    <td style="text-align:right;"><b>电子邮件：</b></td>
    <td><input type="text" name="email" value="{$site['email']}" class="textBox length-middle"/></td>
   </tr>
   <tr>
    <td style="text-align:right;"><b>联系电话：</b></td>
    <td><input type="text" name="phone" value="{$site['phone']}" class="textBox length-middle"/></td>
   </tr>
   <tr>
    <td style="text-align:right;"><b>关闭站点：</b></td>
    <td>
     <input type="radio" name="zhandian" value="1" {if condition="$site['status'] == 1"}checked{/if} id="yes"/>
     <label for="yes">是</label>
     <input type="radio" name="zhandian" value="0" {if condition="$site['status'] == 0"}checked{/if} id="no"/>
     <label for="no">否</label>
    </td>
   </tr>
   <tr>
    <td style="text-align:right;"><b>关闭站点提示：</b></td>
    <td>
     <textarea class="textarea" name="bizhantishi">{$site['bizhantishi']}</textarea>
    </td>
   </tr>
   <tr>
     
      <td style="text-align:right;">公司地址：</td>
      <td><input type="text" name="address" value="{$site['address']}" class="textBox length-middle"/></td>
   
  </tr>
   <tr>
    <td style="text-align:right;"></td>
    <td><input type="submit" value="保存" class="tdBtn"/></td>
   </tr>
  </table>
</form>
 </div>
</body>
</html>
<script type="text/javascript">
  //实例化编辑器
  //建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例
 var ue = UE.getEditor('editor');
</script>